package syntaxtree;

import visitor.IRTreeVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

public class NewArray extends Exp {

    public Exp e;

    public NewArray(Exp ae) {
        e = ae;
    }

    public void accept(Visitor v) {
        v.visit(this);
    }

    public Type accept(TypeVisitor v) {
        return v.visit(this);
    }

    @Override
    public Translate.Exp accept(IRTreeVisitor v) {
        return v.visit(this);
    }
}
